// 菜单管理中心 - 所有菜单数据都在这里统一管理
// 状态定义: 0-停用, 1-启用
// 类型定义: 0-系统, 1-菜单
export const menuData = [
  {
    id: 'devops',
    name: 'DevOps系统',
    icon: 'fa-rocket',
    type: 0, // 系统
    status: 1, // 启用
    sort: 1,
    children: [
      {
        id: 1,
        name: 'Dashboard',
        path: '/',
        icon: 'fa-layer-group',
        sort: 1,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Home',
        children: []
      },
      {
        id: 8,
        name: '个人工作台',
        path: '/workbench',
        icon: 'fa-desktop',
        sort: 1.5,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Workbench',
        children: []
      },
      {
        id: 9,
        name: '产品管理',
        path: '/products',
        icon: 'fa-cube',
        sort: 2,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Products',
        children: []
      },
      {
        id: 10,
        name: '项目管理',
        path: '/projects',
        icon: 'fa-folder-open',
        sort: 3,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Projects',
        children: []
      },
      {
        id: 11,
        name: '需求管理',
        path: '/requirements',
        icon: 'fa-clipboard-list',
        sort: 4,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Requirements',
        children: []
      },
      {
        id: 12,
        name: '任务管理',
        path: '/tasks',
        icon: 'fa-check-double',
        sort: 5,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Tasks',
        children: []
      },
      {
        id: 13,
        name: '缺陷管理',
        path: '/bugs',
        icon: 'fa-bug',
        sort: 6,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Bugs',
        children: []
      },
      {
        id: 14,
        name: '知识库',
        path: '/knowledge',
        icon: 'fa-book-open',
        sort: 7,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'devops',
        componentName: 'Knowledge',
        children: []
      }
    ]
  },
  {
    id: 'performance',
    name: '绩效管理系统',
    icon: 'fa-chart-line',
    type: 0, // 系统
    status: 1, // 启用
    sort: 2,
    children: [
      {
        id: 15,
        name: '绩效看板',
        path: '/',
        icon: 'fa-chart-bar',
        sort: 1,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'performance',
        componentName: 'Home',
        children: []
      },
      {
        id: 16,
        name: 'KPI管理',
        path: '/kpi',
        icon: 'fa-bullseye',
        sort: 2,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'performance',
        componentName: 'Kpi',
        children: []
      },
      {
        id: 17,
        name: '考核管理',
        path: '/assessment',
        icon: 'fa-clipboard-check',
        sort: 3,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'performance',
        componentName: 'Assessment',
        children: []
      },
      {
        id: 18,
        name: '绩效反馈',
        path: '/feedback',
        icon: 'fa-comments',
        sort: 4,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'performance',
        componentName: 'Feedback',
        children: []
      },
      {
        id: 19,
        name: '绩效报表',
        path: '/reports',
        icon: 'fa-file-chart-column',
        sort: 5,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'performance',
        componentName: 'Reports',
        children: []
      },
      {
        id: 20,
        name: '绩效设置',
        path: '/settings',
        icon: 'fa-sliders',
        sort: 6,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'performance',
        componentName: 'Settings',
        children: []
      }
    ]
  },
  {
    id: 'system',
    name: '系统管理',
    icon: 'fa-cog',
    type: 0, // 系统
    status: 1, // 启用
    sort: 3,
    children: [
      {
        id: 14,
        name: '用户管理',
        path: '/users',
        icon: 'fa-users',
        sort: 1,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'system',
        componentName: 'Users',
        children: []
      },
      {
        id: 15,
        name: '角色管理',
        path: '/roles',
        icon: 'fa-user-shield',
        sort: 2,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'system',
        componentName: 'Roles',
        children: []
      },
      {
        id: 16,
        name: '菜单管理',
        path: '/menus',
        icon: 'fa-bars',
        sort: 3,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'system',
        componentName: 'Menus',
        children: []
      },
      {
        id: 28,
        name: '系统设置',
        path: '/settings',
        icon: 'fa-sliders',
        sort: 7,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'system',
        componentName: 'Settings',
        children: []
      },
      {
        id: 29,
        name: 'Toast演示',
        path: '/toast-demo',
        icon: 'fa-bell',
        sort: 8,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'system',
        componentName: 'ToastDemo',
        children: []
      },
      {
        id: 18,
        name: '消息中心',
        path: '/messages',
        icon: 'fa-bell',
        sort: 5,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'system',
        componentName: 'Messages',
        children: []
      }
    ]
  },
  {
    id: 'help',
    name: '帮助中心',
    icon: 'fa-circle-question',
    type: 0, // 系统
    status: 1, // 启用
    sort: 4,
    children: [
      {
        id: 19,
        name: '帮助文档',
        path: '/help',
        icon: 'fa-book',
        sort: 1,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'help',
        showInSidebar: true,
        componentName: 'Help',
        children: []
      },
      {
        id: 20,
        name: '使用条款',
        path: '/terms',
        icon: 'fa-file-contract',
        sort: 2,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'help',
        showInSidebar: false,
        componentName: 'Terms',
        children: []
      },
      {
        id: 21,
        name: '隐私政策',
        path: '/privacy',
        icon: 'fa-shield-alt',
        sort: 3,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'help',
        showInSidebar: false,
        componentName: 'Privacy',
        children: []
      },
      {
        id: 22,
        name: '意见反馈',
        path: '/feedback',
        icon: 'fa-comment-dots',
        sort: 4,
        status: 1, // 启用
        type: 1, // 菜单
        parentId: 'help',
        showInSidebar: false,
        componentName: 'Feedback',
        children: []
      }
    ]
  }
];